import {
	createSSRApp
} from "vue";
import App from "./App.vue";

// 引入UV-UI
import uvUI from '@climblee/uv-ui';

import request from './services/request';

import tools from './tools/tools.js';


export function createApp() {
	const app = createSSRApp(App);

	// 挂载
    app.use(uvUI);
	app.use(tools);
	
	request(app);

	return {
		app,
	};
}
